#ifndef __DS18B20_H__
#define __DS18B20_H__

#include "stc15.h"
#include "onewire.h"
#include <intrins.h>


#define ui unsigned int
#define uc unsigned char


// extern unsigned char segbuff[];
// extern unsigned char code segtab[];
// extern unsigned int temp;

void Delay_SMG(unsigned int t);
//void DisplaySMG_temp();
void Delay(unsigned int t);
unsigned int Read_DS18B20_temp();

#endif /*__DS18B20_H__*/